package com.yunyao.dao.service.bamu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyao.dao.model.BamuPoSupply;
import com.yunyao.dao.model.BamuSaleContract;
import com.yunyao.dao.model.BamuSoSupply;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * <p>
 * 销售合同订单供货 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IBamuSoSupplyService extends IService<BamuSoSupply> {
    List<BamuSoSupply> listByIdsDeleted(List<String> soSupplyIdList);

    long getCount(String contractId);

    List<BamuSoSupply> listByReconciliationSettlementIdDeleted(String reconciliationId, String ContractId);

    boolean updByIdsStatus(List<String> ids, String status, String reconciliationId);


    boolean updByIdsSupplyStatus(@NotBlank String contractId, @NotBlank String reconciliationId);

    List<BamuSoSupply> listById(String Id);

    BamuSoSupply listByContractId(String contractId,String projectId);
}
